﻿using nblTool.utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WebFirst.Entities;

namespace Jn698._45GWTool.Services
{
    public class GWTempFrameService
    {
        public List<GWTempFrame> Select()
        {
            return SqlSugarHelper.Db.Queryable<GWTempFrame>().ToList();
        }

        public int Insert(GWTempFrame gWTempFrame)
        {
            return SqlSugarHelper.Db.Insertable(gWTempFrame).ExecuteCommand();
        }

        public int Delete(GWTempFrame gWTempFrame)
        {
            return SqlSugarHelper.Db.Deleteable(gWTempFrame).ExecuteCommand();
        }
    }
}
